package com.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * Version: V1.0    <br/>
 * Datetime:   2021/12/31 2:35   <br/>
 * Description: 分页页码异常
 *
 * @author: chen
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PageIndexIllegalException extends RuntimeException implements Serializable {

    public PageIndexIllegalException() {
        super("分页查询页码异常");
    }


    public PageIndexIllegalException(String message) {
        super(message);
    }


    public PageIndexIllegalException(String message, Throwable cause) {
        super(message, cause);
    }


    public PageIndexIllegalException(Throwable cause) {
        super(cause);
    }


    protected PageIndexIllegalException(String message, Throwable cause,
                                        boolean enableSuppression,
                                        boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}